package com.boot.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.boot.beans.CourseComment;
import com.boot.common.BaseService;
import com.boot.web.dao.CourseCommentMapper;

@Service("serviceCourseComment")
@Repository
@Transactional(rollbackFor = Exception.class)
public class CourseCommentService extends BaseService<CourseComment> {
	@Autowired
	CourseCommentMapper courseCommentMapper;

	public void addCourseComment(CourseComment bean) {
		courseCommentMapper.insert(bean);
	}
	 

}
